<?php
$a = 0;
$a = 1;
$a = + 1;
$a = - 1;

$a = 0.1;
$a = 1.1;

$a = .1;
$a = 1.;

$a = 000123;
$a = 012300;

$a = 0x1;
$a = 0X1;
$a = 0x001;
$a = 0X100;

$a = 0x123abcdef456ABCDEF;
$a = 0X123abcdef456ABCDEF;
$a = 0xdeadbeef;

$a = 0b111000;
$a = 0b000111;
$a = 0B111000;
$a = 0B000111;

$a = 1e1;
$a = 1e+1;
$a = 1e-1;
$a = 1.e1;
$a = .1e1;
$a = 1.1e1;
$a = 1.1e0010;
$a = .1e+0010;
$a = .1e-0010;

$a = 1E1;
$a = 1E+1;
$a = 1E-1;
$a = 1.E1;
$a = .1E1;
$a = 1.1E1;
$a = 1.1E0010;
$a = .1E+0010;
$a = .1E-0010;

$a = 0.5e0;
$a = 0.5e00;
$a = 0.5e+0;
$a = 0.5e+00;
$a = 0.5e-0;
$a = 0.5e-00;

$a = 1;
$a = 1.00500;
$a = 1.0;
$a = 1.5;
$a = 1.50;
$a = 0;
$a = 0.00500;
$a = 0.0;
$a = 0.0000;
$a = .0;
$a = 500600.001230045000;
$a = 1.00500e60;
$a = 1.0e60;
$a = 0.00500e60;
$a = 0.0e60;
$a = 0.0000e60;
$a = .0e60;
$a = 0.e60;
$a = 0e60;
$a = 500600.001230045000e60;
$a = 10;
$a = 9700;
$a = 10e100;

$a = (-100);
$a = -(100);

$a = 12345.1234;
$a = 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111;

$a = INF;
$a = -INF;
$a = NAN;
$a = PHP_INT_MIN;
$a = PHP_INT_MAX;

$a = 1.000;
$a = 1.001;
$a = 1.0;
// 1. === 1.0, but 1. !== 1
$a = 1.;
$a = 1;

// numeric literal separator, added in 7.4
$threshold = 1_000_000_000;
$testValue = 107_925_284.88;
$discount = 135_00;
6.674_083e-11; // float
299_792_458;   // decimal
0xCAFE_F00D;   // hexadecimal
0b0101_1111;   // binary
0137_041;      // octal
0o123;         // explicit octal, added in 8.1
0O123;         // explicit octal, added in 8.1
